package adhoc.tel.fer.hr;

import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.widget.TextView;

public class MessageReceivedActivity extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		setContentView(R.layout.activity_result);
		TextView view = (TextView) findViewById(R.id.result);
		
		Bundle extras = getIntent().getExtras();
		if (extras != null) {
			String message = extras.getString("payload");
			Log.i(""+this, "message: "+message);
			view.setText(message);
		}

		super.onCreate(savedInstanceState);
	}

}